package com.example.demo.service;

import com.example.demo.entity.User;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author Administrator
 */
public interface UserService {

    User getUserByName(String name);

    Page<User> getUserList(Integer page, Integer size);

}
